package com.lzmpt.imchat.ui.charfragment;

import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;

import com.lzmpt.imchat.R;
import com.lzmpt.imchat.ui.chatactivity.AboutActivity;
import com.lzmpt.imchat.ui.chatactivity.SettingContactActivity;

public class UserInfFragment extends Fragment implements View.OnClickListener {

    View view;

    @Override
    public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) {
        super.onViewCreated(view, savedInstanceState);
    }

    @Nullable
    @Override
    public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        view = inflater.inflate(R.layout.fragment_userinfo, null);
        view.findViewById(R.id.tv_user_menu1).setOnClickListener(this);
        return view;
    }

    @Override
    public void onClick(View v) {
        startActivity(new Intent(getActivity(), SettingContactActivity.class));
    }
}
